package com.byxy.service;

import com.byxy.entity.Forder;
import com.byxy.entity.Product;
import com.byxy.entity.Sorder;
import com.byxy.entity.User;

import java.util.List;

public interface DetailService {

	List<Product> list();
	
	Product getProductById(Integer id);
	
	void saveSorder(Sorder sorder);
	
	Forder getForderById(Integer id);
	
	void saveSorder(Product product, User User);
}
